import request from "@/utils/request.js";

// 提交学习的单词
export function setStudyWord(data) {
	return request({
		url: '/studyWord/setStudyWord',
		method: 'post',
		isLoading: true,
		data
	})
}

// 获取学习的单词
export function getStudyWord(data) {
	return request({
		url: '/studyWord/getStudyWord',
		method: 'post',
		isLoading: false,
		data
	})
}